<%--
  Created by IntelliJ IDEA.
  User: hp
  Date: 2022/5/30
  Time: 19:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link
            rel="stylesheet"
            href="${pageContext.request.contextPath}/css/swiper-bundle.min.css"
    />
    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
        }

        .swiper {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    </style>
</head>
<body>
<div class="swiper mySwiper">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/11(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/12(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/14(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/13(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/15(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/16(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/17(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/18(1).jpg"></div>
        <div class="swiper-slide"><img src="${pageContext.request.contextPath}/img/19(1).jpg"></div>
    </div>
    <div class="swiper-button-next"></div>
    <div class="swiper-button-prev"></div>
    <div class="swiper-pagination"></div>
</div>

<!-- Swiper JS -->
<script src="${pageContext.request.contextPath}/js/swiper-bundle.min.js"></script>

<!-- Initialize Swiper -->
<script>
    var swiper = new Swiper(".mySwiper", {
        spaceBetween: 30,
        centeredSlides: true,
        autoplay: {
            delay: 3500,
            disableOnInteraction: false,
        },
        pagination: {
            el: ".swiper-pagination",
            clickable: true,
        },
        navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
        },
    });
</script>
</body>
</html>
